﻿using System;
using System.Collections.Generic;


namespace advadev.CanOpen
{

    /// <summary>
    /// Represents a layer setting services store configuration message received
    /// event argument
    /// </summary>
    public class LayerSettingServicesStoreConfigurationMessageReceivedEventArgs
    {

        /// <summary>
        /// Initializes a new instance of the
        /// LayerSettingServicesStoreConfigurationMessageReceivedEventArgs class
        /// by the given parameter
        /// </summary>
        /// <param name="errorCode">
        /// Error code
        /// </param>
        /// <param name="implementationSpecificErrorCode">
        /// Implementation specific error code
        /// </param>
        public LayerSettingServicesStoreConfigurationMessageReceivedEventArgs(byte errorCode, byte implementationSpecificErrorCode)
        {
            ErrorCode = errorCode;
            ImplementationSpecificErrorCode = implementationSpecificErrorCode;
        }


        /// <summary>
        /// Gets or sets the error code
        /// </summary>
        public byte ErrorCode
        {
            get;
            set;
        }

        /// <summary>
        /// Gets or sets the implementation specific error code
        /// </summary>
        public byte ImplementationSpecificErrorCode
        {
            get;
            set;
        }

    }

}
